fn main(){
    
    let a = 33;
    println!("{}", a);

    let b = (3_i32, 12_i64);
    println!("{}, {}", b.0, b.1);
    
    let mut c:i32 = 34;
    c = 11;
    println!("{}", c);
    
    let c = 23;

    println!("{}", c);
    
   fn add(a:i32, b:i32)->i32
   {
        a+b
   }


   println!("3+2 = {}", add(3, 2));

  
   let local = ["cd", "bj", "nj", "xa"];

    println!("local len = {}", local.len());
    println!("{}", local[2]);


    for ex in local.iter(){
   
        println!{"{}", ex};
   
   }
    
    let mut count :u16 = 12;

    loop {
   
        count = count -1;
        if count == 0{
        
            break;
        }
    
        println!("count = {}", count);
   
   }

    
    for i in 1..5{
    
        println!("i={}", i);
    
    }


    let mut v = vec![1, 2, 3];
    v.push(12);
    v.push(12);

    println!("{:?}", v);












}

